//
//  FriendTabViewController.m
//  IceBreaker
//
//  Created by Chiao Wolfire on 12-10-8.
//  Copyright (c) 2012年 NDS. All rights reserved.
//

#import "FriendTabViewController.h"

@interface FriendTabViewController ()

@end

@implementation FriendTabViewController

-(id) init {
    self = [super initWithNibName: nil bundle: nil];
    if (self) {
        self.title = NSLocalizedStringFromTable(@"Tab Friend", @"Localizable", @"Friends");
        
        UITabBarItem *friendTab = [self tabBarItem];
        UIImage *friendImage = [UIImage imageNamed: @"friends.png"];
        friendTab.image = friendImage;
        friendTab.title = NSLocalizedStringFromTable(@"Tab Friend", @"Localizable", @"Friends");
        self.tabBarItem = friendTab;
    }
    return self;
}

-(id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    return [self init];
}

-(void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

-(void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
